Skip to content

Feat/3d#4

Merged
graceevelyns merged 6 commits intomainfrom
feat/3d
May 18, 2025
Merged

Feat/3d#4
graceevelyns merged 6 commits intomainfrom
feat/3d

Conversation

@himanusia
Copy link
Copy Markdown
Owner

godot_oKNFdg2ntS

@himanusia himanusia requested a review from Copilot May 17, 2025 23:15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds new 3D assets and updates the project configuration to support a 3D simulation. Key changes include adding new material resource files, a custom floor shader, several car scene definitions, and refactoring the main scene from a 2D Control to a 3D Node while updating project settings (e.g., physics engine).

Reviewed Changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tukang-parkir-simulator/scenes/wheel_material.tres Added a new StandardMaterial3D resource for wheel materials.
tukang-parkir-simulator/scenes/scene_manager.tscn Removed the SceneManager scene resource.
tukang-parkir-simulator/scenes/primary_material.tres Added a new primary material resource.
tukang-parkir-simulator/scenes/non_primary_material.tres Added a new non-primary material resource.
tukang-parkir-simulator/scenes/floor.gdshader.uid Added shader UID file for the floor material.
tukang-parkir-simulator/scenes/floor.gdshader Added a custom shader for floor grid rendering.
tukang-parkir-simulator/scenes/car3.tscn Added a new car3 scene using the newly defined materials.
tukang-parkir-simulator/scenes/car2.tscn Added a new car2 scene using the newly defined materials.
tukang-parkir-simulator/project.godot Updated the main scene reference to use a UID and added physics config.
tukang-parkir-simulator/assets/Textures-16.png.import Removed the texture import file.
test/2.txt Added a new test file.
src/utils/utils.hpp Added operator overloads for the Coordinates struct.
src/main_scene/main_scene.hpp Refactored MainScene to inherit from Node3D and added new 3D members.
Comments suppressed due to low confidence (1)

src/main_scene/main_scene.hpp:33

  • MainScene now inherits from Node3D while still managing UI components like Label and Button. Consider reviewing the UI layout and interaction logic to ensure these controls render and function correctly in a 3D context.
class MainScene : public Node3D {

void fragment() {
vec2 coord_on_plane;

if (grid_plane == 1) {
Copy link

Copilot AI May 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be helpful to document the expected values for 'grid_plane' (e.g., 0, 1, and any other value representing the YZ plane) to improve clarity for future maintainers.

Copilot uses AI. Check for mistakes.
@graceevelyns graceevelyns merged commit 39732b5 into main May 18, 2025
2 of 114 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants